<template>
  <!-- 碳排放未规划配置 -->
  <div class="carbon-emission-unplan-box">
    <div class="CardItems-box">
      <CardItems
          ref="tableCard"
          :card-config="cardConfig"
          :pop-config="popConfig"
          :select-config="selectConfig"
          :header-config="headerConfig"
      />
    </div>
  </div>
</template>

<script>
  import CardItems from '@/components/CardItems'
  import { cardConfig } from './config/cardConfig'
  import { popConfig } from './config/popConfig'
  import { headerConfig } from './config/tableConfig'
  import { selectConfig } from './config/selectConfig'

  export default {
    name: 'CarbonEmissionUnplan',
    components: {
      CardItems
    },
    data() {
      return {
      }
    },
    computed: {
      /**
       * 卡片配置
       */
      cardConfig() {
        return cardConfig['carbon-emission-unplan'] || {}
      },
      /**
       * 弹窗配置
       */
      popConfig() {
        return popConfig['carbon-emission-unplan'] || {}
      },
      /**
       * 筛选配置
       */
      selectConfig() {
        return selectConfig['carbon-emission-unplan'] || []
      },
      /**
       * 表头配置
       */
      headerConfig() {
        return headerConfig['carbon-emission-unplan'] || []
      }
    },
    methods: {
    }
  }
</script>

<style lang="scss" scoped>
  .carbon-emission-unplan-box {
    display: flex;
    width: 100%;
    height: 100%;

    .CardItems-box {
      flex: 1;
    }
  }
</style>
